home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-09-02 | 1.4 KB | 53 lines | [TEXT/MPS ] |
- { Change the word "Speaker" to the name of your object class throughout. }
- UNIT USpeaker;
-
- INTERFACE
-
- USES
- { Macintosh Toolbox units }
- Types, QuickDraw, ToolUtils, ObjIntf, Events, Dialogs, Menus, Printing, Packages,
- GestaltEqu,Speech,Memory,
-
- { Course library utility units }
- Utils, UList,
-
- { Application framework units }
- UGlobals, UApplication, UGenericWindow, UWindow, UAlert, UDialog, UTracker,
- UStream, UFile, UDrawingObject, UPrintable, UObjectWindow,
-
- ULab6Common,
-
- { Additional units of the course library }
- UAnimationObject, UAnimator, UAnimationScheduler, UStartStopAnimator,
- UXORObject, URectangular, UBox, UOval, UIcon, UText
-
- { Add any additional units here, including those of your own program }
-
- ;
-
- TYPE
-
- { Change "TSpeaker" to the name of your class. }
- { Change "TSlideObject" to the name of the correct SlideObject. }
- TSpeaker = OBJECT (TObject)
- {private: }
- fChannel:SpeechChannel;
-
- PROCEDURE TSpeaker.WaitTilSpeechDone;
- {protected: }
- {none}
- { public: }
- FUNCTION TSpeaker.GetChannel:SpeechChannel;
- PROCEDURE TSpeaker.SetChannel(tc:SpeechChannel);
- PROCEDURE TSpeaker.ISpeaker(NumberOfVoice: Integer);
- PROCEDURE TSpeaker.Free;OVERRIDE;
- PROCEDURE TSpeaker.SpeakStr( ToSayString: Str255);
- PROCEDURE TSpeaker.SpeakTxt(theTextHdl:Handle);
- END;
-
- IMPLEMENTATION
-
- { Change "TSpeaker" to the name of your class. }
- {$I USpeaker.inc1.p}
-
- END.